package com.zdsoft.blp.gongyong.dialog;

import android.app.ProgressDialog;
import android.content.Context;
import android.graphics.drawable.AnimationDrawable;
import android.os.Bundle;
import android.widget.ImageView;

import com.zdsoft.blp.R;

public class CustomDailog extends ProgressDialog{
    public CustomDailog(Context context) {
        super(context);
    }


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialoglayout);
        //setCanceledOnTouchOutside(false);
        /*ImageView iv= (ImageView) findViewById(R.id.iv_progress);
        AnimationDrawable drawable= (AnimationDrawable) iv.getDrawable();
        drawable.start();*/
    }
}
